"""
======================
Author: 柠檬班-小简
Time: 2022/10/21 21:27
Project: day4_framwork_V1
Company: 湖南零檬信息技术有限公司
======================
"""
import json
# res_data = '{"access_token":"4561b168-1fca-42ab-a5e1-2f3b833135a2","token_type":"bearer","refresh_token":"871ade81-10e2-49bc-9189-a2f0b1db3987","expires_in":1295999}'

resp_data = '验证码有误或已过期'
try:
    json.loads(resp_data)
except:
    resp_data = {"data":resp_data}
print(resp_data)